From: Joseph Marrero Corchado Date: Mon, 29 Jun 2026 19:30:59 +0000 (-0400) Subject: ci: Remove Prow and coreos-ci Jenkins infrastructure X-Git-Tag: archive/raspbian/2026.2-1+rpi1^2~9^2^2~1^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3a4ced5c97bee5196f33feea6c685e191e129acf;p=ostree.git ci: Remove Prow and coreos-ci Jenkins infrastructure Remove the legacy CI artifacts that are no longer in use: - ci/prow/: No-op placeholder Dockerfile and script that were kept while waiting for the job to be removed from openshift/release. Remove them entirely so Prow stops running on every PR. - .cci.jenkinsfile: Orphaned coreos-ci Jenkins pipeline. Not referenced by anything in the repo and superseded by GitHub Actions and Konflux. - ci/installdeps.sh: Remove stale comment referencing the Prow job. The Prow job was already removed from openshift/release: https://github.com/openshift/release/pull/81042 --- diff --git a/.cci.jenkinsfile b/.cci.jenkinsfile deleted file mode 100644 index 6804e521..00000000 --- a/.cci.jenkinsfile +++ /dev/null @@ -1,77 +0,0 @@ -// Documentation: https://github.com/coreos/coreos-ci/blob/main/README-upstream-ci.md - -properties([ - // abort previous runs when a PR is updated to save resources - disableConcurrentBuilds(abortPrevious: true) -]) - -stage("Build") { - def n = 5 - buildPod(memory: "2Gi", cpu: "${n}") { - checkout scm - stage("Static analysis") { - shwrap("./ci/codestyle.sh") - } - stage("Core build") { - shwrap(""" - # fetch tags so `git describe` gives a nice NEVRA when building the RPM - git fetch origin --tags - git submodule update --init - - env MAKE_JOBS=${n} ./ci/build.sh - """) - } - stage("Unit tests") { - try { - shwrap(""" - make -C target/c check - """) - } finally { - shwrap("cat test-suite.log || true") - archiveArtifacts allowEmptyArchive: true, artifacts: 'test-suite.log' - } - } - stage("Build installed tests") { - shwrap(""" - make -C tests/kolainst - """) - } - stage("Generate artifacts") { - shwrap(""" - make -C target/c install DESTDIR=\$(pwd)/installed/rootfs - make -C tests/kolainst install DESTDIR=\$(pwd)/installed/tests - bash -c '. /usr/lib/os-release && echo \$VERSION_ID' >\$(pwd)/installed/buildroot-id - """) - } - stash includes: "installed/", name: 'build' - } -} - -// Build FCOS and run kola tests. -// There's some parallelization in testiso up to 8G, add 1G for overhead -cosaPod(memory: "9Gi", cpu: "4") { - stage("Build FCOS") { - checkout scm - unstash 'build' - shwrap(""" - # Make sure none of the files in the unstashed build are setgid - chmod -c -R g-s installed/ - # Move the bits into the cosa pod (but only if major versions match) - buildroot_id=\$(cat installed/buildroot-id) - osver=\$(. /usr/lib/os-release && echo \$VERSION_ID) - if test \$osver = \$buildroot_id; then - rsync -rlv installed/rootfs/ / - fi - rsync -rlv installed/tests/ / - coreos-assembler init --force https://github.com/coreos/fedora-coreos-config - mkdir -p overrides/rootfs - # And override the on-host bits - mv installed/rootfs/* overrides/rootfs/ - rm installed -rf - coreos-assembler build - coreos-assembler osbuild qemu metal metal4k live - """) - } - kola(cosaDir: "${env.WORKSPACE}") - kolaTestIso(cosaDir: "${env.WORKSPACE}", extraArgs: "--denylist-test *.4k.* --denylist-test *.mpath.*") -} diff --git a/ci/installdeps.sh b/ci/installdeps.sh index a370f9c9..733c9b23 100755 --- a/ci/installdeps.sh +++ b/ci/installdeps.sh @@ -3,10 +3,7 @@ set -xeuo pipefail -# This is used by our OpenShift Prow job; we use the -# cosa buildroot container -# https://github.com/coreos/coreos-assembler/pull/730 -# And using `yum` at all means we can flake on fetching rpm metadata +# Skip if explicitly requested or if not running as root if [ -n "${SKIP_INSTALLDEPS:-}" ] || test "$(id -u)" != 0; then exit 0 fi diff --git a/ci/prow/Dockerfile b/ci/prow/Dockerfile deleted file mode 100644 index f88ce40f..00000000 --- a/ci/prow/Dockerfile +++ /dev/null @@ -1,6 +0,0 @@ -# Prow CI is being dropped in favor of GHA and Konflux. -# This is a no-op placeholder until the job is removed from openshift/release. -# See: https://github.com/ostreedev/ostree/pull/3599#issuecomment-4792307868 -FROM registry.access.redhat.com/ubi9/ubi-minimal:latest -COPY ci/prow/fcos-e2e.sh /usr/bin/fcos-e2e -RUN chmod +x /usr/bin/fcos-e2e diff --git a/ci/prow/fcos-e2e.sh b/ci/prow/fcos-e2e.sh deleted file mode 100755 index dd25cb27..00000000 --- a/ci/prow/fcos-e2e.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Prow CI is being dropped in favor of GHA and Konflux. -# This is a no-op placeholder until the job is removed from openshift/release. -# See: https://github.com/ostreedev/ostree/pull/3599#issuecomment-4792307868 -echo "Prow CI is deprecated for ostree; skipping."